package com.imy.luascript.app.ui.precode;

import android.app.Activity;

import com.imy.common.view.recyclerview.adpater.BaseLoadMoreAdapter;
import com.imy.luascript.app.ui.code.CodeFileDelegate;

import java.io.File;
import java.util.List;

/**
 * create by Imy
 */
public class PreViewCodeAdapter extends BaseLoadMoreAdapter<File> {
  private PreviewCodeDelegate mCodeFileDelegate;
  public PreViewCodeAdapter(Activity activity, List<File> items) {
    super(activity, items);
    mCodeFileDelegate = new PreviewCodeDelegate(activity);
    addDelegate(mCodeFileDelegate);
  }

  public PreviewCodeDelegate getCodeFileDelegate() {
    return mCodeFileDelegate;
  }
}
